home *** CD-ROM | disk | FTP | other *** search
- head 1.4;
- branch ;
- access ;
- symbols ;
- locks ; strict;
- comment @ * @;
-
-
- 1.4
- date 90.06.27.13.30.24; author shirriff; state Exp;
- branches ;
- next 1.3;
-
- 1.3
- date 89.07.14.09.10.09; author rab; state Exp;
- branches ;
- next 1.2;
-
- 1.2
- date 88.06.29.14.57.56; author ouster; state Exp;
- branches ;
- next 1.1;
-
- 1.1
- date 88.06.21.16.42.10; author ouster; state Exp;
- branches ;
- next ;
-
-
- desc
- @@
-
-
- 1.4
- log
- @Updated utmp.h to new Unix version.
- @
- text
- @/*
- * Copyright (c) 1980 Regents of the University of California.
- * All rights reserved. The Berkeley software License Agreement
- * specifies the terms and conditions for redistribution.
- *
- * @@(#)utmp.h 5.1 (Berkeley) 5/30/85
- */
-
- #ifndef _UTMP
- #define _UTMP
-
- /*
- * Structure of utmp and wtmp files.
- *
- */
-
- #define _PATH_UTMP "/etc/utmp"
- #define UT_NAMESIZE 8
- #define UT_LINESIZE 8
- #define UT_HOSTSIZE 16
-
- struct utmp {
- char ut_line[UT_LINESIZE]; /* tty name */
- char ut_name[UT_NAMESIZE]; /* user id */
- char ut_host[UT_HOSTSIZE]; /* host name, if remote */
- long ut_time; /* time on */
- };
-
- #endif /* _UTMP */
- @
-
-
- 1.3
- log
- @*** empty log message ***
- @
- text
- @a14 1
- * Assuming the number 8 is unwise.
- d16 6
- d23 3
- a25 3
- char ut_line[8]; /* tty name */
- char ut_name[8]; /* user id */
- char ut_host[16]; /* host name, if remote */
- @
-
-
- 1.2
- log
- @Add ifdefs so that file can't be processed twice.
- @
- text
- @d24 1
- a24 1
- #endif _UTMP
- @
-
-
- 1.1
- log
- @Initial revision
- @
- text
- @d9 3
- d23 2
- @
-